package club.cearnach.api.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @author 阮胜
 * @date 2018/5/24 12:36
 */
@Data
public class UserDTO {
    @NotBlank
    private String account;

    @NotBlank
    private String nickname;

    @NotBlank
    private String gender;

    @NotBlank
    private Date birthday;

    @NotBlank
    private String oldPassword;

    @NotBlank
    private String newPassword;
}
